package com.ji.li.reactadminproexampleservice.service;

import com.ji.li.reactadminproexampleservice.entity.user.User;
import org.springframework.scheduling.annotation.Async;

/**
 * @author ji.li
 * 创建 移除 token 相关服务
 */
public interface AuthService extends BaseService{
    /**
     * @return token
     */
    public String createToken(User user,Boolean rememberMe);

//    @Async
    public void removeToken();
}
